package com.otod.sys.emp.mapper;

import java.util.Map;

import com.otod.base.mapper.BaseMapper;
import com.otod.base.support.spring.mybatis.annotation.MyBatisRepository;
import com.otod.sys.vo.AuapTEmpVo;

import org.springframework.stereotype.Repository;

@MyBatisRepository
@Repository
public interface EmpMapper  extends BaseMapper<AuapTEmpVo>{
	
	/**
	 * 检查员工编号是否重复
	 * @param empNo
	 * @return
	 */
	public Long isRepeatEmpNo(String empNo);
	
	/**
	 * 检查员工信息
	 * @param empNo
	 * @return
	 */
	public AuapTEmpVo getByEmpNo(String empNo);
	
	public AuapTEmpVo getByEmpNoAndStatus(Map<String,Object> param);
}
